package com.akeys.matrimony.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;



@Controller
public class HelloControllerAnot {

	@RequestMapping("/welcome1")
	public ModelAndView helloWorld() {
		System.out.println("Helloe world Loaded Successfully.........");
		ModelAndView modelAndView = new ModelAndView("HelloPage");
		modelAndView.addObject("message","Hiii EveryOne");
		return modelAndView;
	}
}
